package com.qfedu.aunt.commons.service;

import com.qfedu.aunt.commons.pojo.Ad;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 广告表 服务类
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
public interface AdService extends IService<Ad> {
    /**
     * 通过广告类型找广告
     * @param adType
     * @return
     * @throws Exception
     */
    List<Ad> findAdsByType(Integer adType)throws Exception;
}
